//
//  QQButtonView.h
//  maoWeiVideo
//
//  Created by Stn on 2019/8/17.
//  Copyright © 2019 Stn. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM (NSUInteger,layoutType){
    layoutTop = 0,
    layoutLeft = 1,
    layoutRight =2,
    layoutBottom=3,
};
@interface QQButtonView : UIView
@property(nonatomic,strong)UIImageView* Img;
@property(nonatomic,strong)UILabel* titLab;
@property(nonatomic,assign)NSInteger layoutType;
-(void)createBtnTitle:(NSString *)title AndImg:(UIImage *)Img AndFont:(UIFont *)font AndTextcolor:(UIColor *)color AndTextAlgment:(NSTextAlignment)textAlgnment;
-(void)layoutWithType:(layoutType )type WithIntervali:(NSInteger)intervali;
@end

NS_ASSUME_NONNULL_END
